﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace aspProject.Dmain.Domain
{
    public interface ILabelTypeRepository
    {
        IQueryable<LabelType> FindAll();
        LabelType FindById(int dataConfigId);
        void SaveChanges();
        IQueryable<Theme> FindAllThemesForType(LabelType type);
        IQueryable<Template> FindAllTemplatesForType(LabelType type);
        IQueryable<FieldConfig> FindAllFieldConfigsForType(LabelType type);
        IQueryable<DataConfig> FindAllDataConfigsForType(LabelType type);
        void AddDataConfig(DataConfig dataConfig);
        void AddFieldConfig(FieldConfig fieldConfig);
        void AddTemplate(Template template);
        Theme FindThemeById(int id);
        Template FindTemplateById(int id);
        FieldConfig FindFieldConfigById(int id);
        DataConfig FindDataConfigById(int id);
    }
}
